import 'package:flutter/material.dart';
import 'package:flutterapp/src/index_page.dart';

class RootAppPage extends StatefulWidget {
  @override
  _RootAppPageState createState() => _RootAppPageState();
}

class _RootAppPageState extends State<RootAppPage> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primaryColor: Colors.lightBlueAccent,
        appBarTheme: AppBarTheme(centerTitle: true),
        bottomAppBarTheme: BottomAppBarTheme(color: Colors.blue),
      ),
      debugShowCheckedModeBanner: false,
      home: IndexPage(),
    );
  }
}
